﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fated.Character.ChartGeneration {
    /// <summary>
    /// Completed: Checks for Moon, Mars, Mercury, Venus
    /// </summary>
    class Jupiter : Planet {
        public static void generateStats(out float[] amount, out int[] affected,
           Planet.PlanetNames p, Aspect.AspectType a) {

            amount = new float[1];
            affected = new int[1];

            if (p == PlanetNames.Moon) affected[0] = (int)Chart.Stats.Spirit;
            if (p == PlanetNames.Mars) affected[0] = (int)Chart.Stats.Body;
            if (p == PlanetNames.Mercury) affected[0] = (int)Chart.Stats.Mind;
            if (p == PlanetNames.Venus) affected[0] = (int)Chart.Stats.Social;

            if (a == Aspect.AspectType.Trine) amount[0] = largeUp;
            if (a == Aspect.AspectType.Sextile) amount[0] = smallUp;
            if (a == Aspect.AspectType.Conjunct) amount[0] = vLargeUp;
            if (a == Aspect.AspectType.Square) amount[0] = smallDown;
            if (a == Aspect.AspectType.Opposite) amount[0] = largeDown;
        }
    }
}
